package com.bo;

import java.math.BigDecimal;
import java.util.Date;

public class Product {
	private Long productId;
	private Date createTime;
	private Date effectTime;
	private Date expiredTime;
	//only used to display in the previousproducts.jsp, not store
	private String startDate;
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	//only used to calculate in page, not store
	private long remainTime;
	public long getRemainTime() {
		return remainTime;
	}
	public void setRemainTime(long remainTime) {
		this.remainTime = remainTime;
	}
	private BigDecimal originalPrice;
	private BigDecimal realPrice;
	private BigDecimal discount;
	private BigDecimal save;
	private int minNum;
	public int getMinNum() {
		return minNum;
	}
	public void setMinNum(int minNum) {
		this.minNum = minNum;
	}
	private int limitNum;
	private int totalNum;
	public int getLimitNum() {
		return limitNum;
	}
	public void setLimitNum(int limitNum) {
		this.limitNum = limitNum;
	}
	public int getTotalNum() {
		return totalNum;
	}
	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}
	private String title;
	private String mainPic;
	private String reminder;
	private String highlights;
	private String details;
	private int actualPurchaseNumber;
	private int manualPurchaseNumber;
	private Integer flag;
	private Long providerId;
	public Long getProductId() {
		return productId;
	}
	public void setProductId(Long productId) {
		this.productId = productId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getEffectTime() {
		return effectTime;
	}
	public void setEffectTime(Date effectTime) {
		this.effectTime = effectTime;
	}
	public Date getExpiredTime() {
		return expiredTime;
	}
	public void setExpiredTime(Date expiredTime) {
		this.expiredTime = expiredTime;
	}
	public BigDecimal getOriginalPrice() {
		return originalPrice;
	}
	public void setOriginalPrice(BigDecimal originalPrice) {
		this.originalPrice = originalPrice;
	}
	public BigDecimal getRealPrice() {
		return realPrice;
	}
	public void setRealPrice(BigDecimal realPrice) {
		this.realPrice = realPrice;
	}
	public BigDecimal getDiscount() {
		return discount;
	}
	public Integer getFlag() {
		return flag;
	}
	public void setFlag(Integer flag) {
		this.flag = flag;
	}
	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}
	public BigDecimal getSave() {
		return save;
	}
	public void setSave(BigDecimal save) {
		this.save = save;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getMainPic() {
		return mainPic;
	}
	public void setMainPic(String mainPic) {
		this.mainPic = mainPic;
	}
	public String getReminder() {
		return reminder;
	}
	public void setReminder(String reminder) {
		this.reminder = reminder;
	}
	public String getHighlights() {
		return highlights;
	}
	public void setHighlights(String highlights) {
		this.highlights = highlights;
	}
	public String getDetails() {
		return details;
	}
	public void setDetails(String details) {
		this.details = details;
	}
	public int getActualPurchaseNumber() {
		return actualPurchaseNumber;
	}
	public void setActualPurchaseNumber(int actualPurchaseNumber) {
		this.actualPurchaseNumber = actualPurchaseNumber;
	}
	public int getManualPurchaseNumber() {
		return manualPurchaseNumber;
	}
	public void setManualPurchaseNumber(int manualPurchaseNumber) {
		this.manualPurchaseNumber = manualPurchaseNumber;
	}
	public Long getProviderId() {
		return providerId;
	}
	public void setProviderId(Long providerId) {
		this.providerId = providerId;
	}

}
